package top.meeting.room.baseModel;

import com.jfinal.plugin.activerecord.Model;
import com.jfinal.plugin.activerecord.IBean;

/**
 * 我有故事，你有酒么？
 * JKhaled created by yunqisong@foxmail.com  
 * FOR : BaseRoom 
 */
@SuppressWarnings({"serial", "unchecked"})
public abstract class BaseRoom<M extends BaseRoom<M>> extends Model<M> implements IBean {

	public static final String id = "id" ; 

	public static final String name = "name" ; 

	public M setId(java.lang.Long id) {
		set("id", id);
		return (M)this;
	}

	public java.lang.Long getId() {
		return get("id");
	}

	public M setName(java.lang.String name) {
		set("name", name);
		return (M)this;
	}

	public java.lang.String getName() {
		return get("name");
	}

}
